package com.sh.data.engine.application.model.request.api;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Data
@Schema
public class DataApiParamRequest {

    @Schema(description = "参数类型0 - 输入参数 1-输出参数")
    private Integer paramType;

    @Schema(description = "参数名称")
    private String paramName;

    @Schema(description = "参数位置 query head body")
    private String paramPosition;

    @Schema(description = "绑定字段名")
    private String bindColumnName;

    @Schema(description = "参数数据类型")
    private String paramDataType;

    @Schema(description = "操作符0 -等于 1-like 2-in")
    private Integer paramOperator;

    @Schema(description = "是否必填 0-非必填 1-必填")
    private Integer paramRequire;

    @Schema(description = "示例值")
    private String exampleValue;

    @Schema(description = "默认值")
    private String defaultValue;

    @Schema(description = "描述")
    private String paramDesc;

    @Schema(description = "排序")
    private String orderBy;

}
